﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CVCore32.Class.Core
{
    public class Currency
    {
        public static string formatearMoneda(double valor)
        {
            return valor.ToString("$#,0;($#,0);0");
        }

        public static string desformatearMoneda(string valor)
        {
            return string.Format("{0:I}", valor);
        }

    }
}
